document.getElementById('anchorLink').addEventListener('click', function(event) {
    event.preventDefault(); // 阻止默认的锚点跳转行为
    var targetElement = document.getElementById('section1');
    targetElement.scrollIntoView({ behavior: 'smooth', block: 'start' });
});
